﻿using WalkingTec.Mvvm.Core;
using Digitalmes.ViewModel.SpcManagement.SpcAnalysisVMs;

namespace Digitalmes.ViewModel.SpcManagement.SpcAnalysisVMs
{
    public partial class SpcAnalysisCreateGroupVM : BaseVM
    {
        public SpcAnalysisVM SpcAnalysisVM { get; set; } = new SpcAnalysisVM();
        public Digitalmes.ViewModel.SpcManagement.SpcAnalysisVMs.SimpleDataSearcher SimpleDataSearcher { get; set; } = new Digitalmes.ViewModel.SpcManagement.SpcAnalysisVMs.SimpleDataSearcher();
        public string id { get; set; }
        protected override void InitVM()
        {
            SpcAnalysisVM = Wtm.CreateVM<SpcAnalysisVM>(id);
            SimpleDataSearcher = new Digitalmes.ViewModel.SpcManagement.SpcAnalysisVMs.SimpleDataSearcher();
            SimpleDataSearcher.CopyContext(this);
            SimpleDataSearcher.DoInit();
            base.InitVM();
        }
    }
}
 